/*
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2024-08-28 22:26:46
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2024-08-28 22:52:01
 * @FilePath: /metaverse/src/main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createSSRApp } from "vue";
import App from "./App.vue";

import UViewPlus from 'uview-plus';
import UViewUI from './uview';
import './uni.scss'


const window  = {
  requestAnimationFrame(callback){
    setInterval(() => {
      callback&&callback();
    }, 200)
  } 
}


export function createApp() {
  const app = createSSRApp(App);
  app.use(UViewPlus);
  app.use(UViewUI);
  return {
    app,
  };
}
